<script type="text/javascript">
$(document).ready(function() {
	setTimeout(function(){
	  $("#kotak").fadeOut("slow", function () {
		$("#kotak").remove();
	  });    
	}, 3000);
	
});
function expand_this(hidden_div)
{
	$("#"+hidden_div).slideToggle(300);
	return false;
}
</script>
<div class="left"></div>
<div class="right"></div>
<div class="heading">
	<h1 style="background-image: url('<?php echo base_url()?>assets/images/product.png');">Lookbook</h1>
</div>
<div class="yui-gc wrapper">
<h1>Tambah Lookbook</h1>
<?php echo $this->session->flashdata('message_type');?>
<form id="add_product_form" action="" method="post" enctype="multipart/form-data">
    <div class="yui-u first">
        <fieldset>
		<legend>Lookbook</legend>
		<ul>
			<li>
				<label for="image_file">File Foto</label>
				<?php echo form_error('image_file', '<div class="error">', '</div>'); ?>
				<input id="image_file" type="file" name="image_file" class="text">
			</li>
			<li>
				<label for="judul">Judul</label>
				<?php echo form_error('judul', '<div class="error">', '</div>'); ?>
				<input id="judul" type="text" name="judul" class="text" value="">
			</li>
			<li>
				<label for="deskripsi">Deskripsi</label>
				<?php echo form_error('deskripsi', '<div class="error">', '</div>'); ?>
				<textarea id="deskripsi" name="deskripsi"></textarea>
			</li>
			<li>
				<div style="display:block;height:40px;width:100%;clear:both;float:left;"></div>
			</li>
		</ul>
		</fieldset>
    </div>
	
<div class="yui-u">
	<fieldset>
		<legend>Detail Lookbook</legend>
		<ul>
			<li>
				<label for="status">Status</label>
				<?php echo form_error('status', '<div class="error">', '</div>'); ?>
				<?php echo booleanValueStatus('n','status')?>
			</li>
			<li>
				<input id="produk_id" type="hidden" name="produk_id" value="">
				<input type="submit" value="Simpan"> atau <?php echo anchor('backend/lookbook','Batalkan')?>
			</li>
		</ul>
	</fieldset>
</div>
</form>
</div>